<template>
    <div class="search-user">
      <el-input placeholder="按账号名，手机号，昵称搜索..." v-model="txt">
        <template slot="prepend">输入搜索条件</template>
         <el-button slot="append" icon="el-icon-search"></el-button>
      </el-input>
    </div>
</template>

<script>
export default {
  data() {
    return {
      txt: ""
    };
  }
};
</script>

<style lang="less" scoped>
    .search-user{
        width: 60%;
        margin: 5px auto;
    }
</style>